//package com.my.getway.white;
//
//
//import lombok.Setter;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//
//@FeignClient(contextId = "sysBaseRemoteApi", value = ServiceNameConstants.PLATFORM_SERVICE, fallbackFactory = org.jeecg.rservice.RBaseProjectService.RBaseProjectServiceFallBackFactory.class)
//public interface RBaseProjectService {
//
//    @GetMapping("/sys/auth/token")
//    Result<?> parseToken(@RequestParam("token") String token);
//
//    class  RBaseProjectServiceFallBackFactory implements org.jeecg.rservice.RBaseProjectService {
//
//        @Setter
//        private Throwable cause;
//
//        @Override
//        public Result<?> parseToken(String token) {
//            cause.printStackTrace();
//            return Result.error("解析token 失败");
//        }
//    }
//}
